#ifndef _PYRAMID_H_
#define _PYRAMID_H_

#include <pnm.h>

#include "masked_image.h"

struct eltPyramid;
struct fifoPyramid;

/* Push an image (as a pyramid element) to the desired pyramid fifo structure */
void pushImage(struct fifoPyramid* fifo,struct maskedImage* elt);

/* pop the last element (as a pyramid element) of the desired fifo structure */
struct eltPyramid* popImage(struct fifoPyramid* fifo);

/* Counts the number of elements in the fifo structure */
int sizePyramid(struct fifoPyramid* fifo);

#endif /* _PYRAMID_H_ */
